 
const Layout = () => {
    return <div
    style={{
      margin:"auto",
      display:'flex',
      width:'200px',
      height:'200px',
      border:'1px solid red'
    }}
>
  <div style={{margin:'auto'}}>居中文案</div>
</div>


}


export default Layout;